
import { _decorator, Component, Node } from 'cc';
import { CustomEventListener } from '../data/CustomEventListener';
import { E2LProtocol } from '../proto/ELProtocol';
const { ccclass, property } = _decorator;
 
@ccclass('Welcome')
export class Welcome extends Component {
    start () {
        setTimeout(function () {
            CustomEventListener.dispatchEvent(E2LProtocol.e2l_welcome_over);
        }.bind(this), 5000);
    }

}

